<html>
	<head>
		<title></title>
	</head>
	<body>
		<!--在线留言开始-->
			<section>
				<h3>在线留言 Online Message</h3>
			<!--	<form method="post" class="form_book nice-validator n-yellow" id="bookform" onsubmit="return CheckForm()" novalidate="novalidate">-->
					<ul class="list-unstyled">
						<li><input name="t0" type="text" id="xm" value="您的姓名 Name" onfocus="this.value=&#39;&#39;" onblur="if(!value){value=defaultValue}" maxlength="10" aria-required="true"></li>
						<li><input name="t2" type="text" id="dh" value="您的电话 Phone" maxlength="11" onfocus="this.value=&#39;&#39;" onblur="if(!value){value=defaultValue}" aria-required="true"></li>
						<li><textarea name="t1" cols="" id="nr" value="您要留言的内容 Content" maxlength="200" onfocus="this.value=&#39;&#39;" onblur="if(!value){value=defaultValue}" aria-required="true">您要留言的内容 Content</textarea></li>
						<!--<li><input name="t4" type="text" id="yzm" value="验证码 Pin" onfocus="this.value=&#39;&#39;" onblur="if(!value){value=defaultValue}" maxlength="10" aria-required="true"><img src="./static/imgcode.asp" alt="看不清" title="看不清" style="cursor:pointer;" onclick="this.src+=&#39;&amp;&#39;+Math.random();" id="yzmtp"></li>
						-->
						<li><input name="bnt" type="button" id="button" class="bookadd" value="立即提交 Submit →"></li>
					</ul>
			<!--	</form>-->
				<div id="savediv" style="visibility: hidden;">处理中,请勿进行其他操作...</div>
			</section>

			<!--在线留言结束-->

			<!--联系我们开始-->
			<section class="bianju">
				<h3>联系我们 Contact US</h3>
				<address>
					<ul class="list-unstyled">
					<li>服务电话：020-38468240 /  020-38468840 /  13829734877</li>
					<li>Q　　Q：<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=3209202875&amp;site=qq&amp;menu=yes" target="_blank" class="qq" rel="nofollow">3209202875</a></li>
					<li>E-mail：zunjihuanbao@126.com</li>
					<li>公司地址：广州市天河区华兴街91号二、三层</li>
					</ul></address>
				<!--快捷入口开始-->
				<h4>快捷入口 Quick Entry</h4>
				<p>

					<a title="关于我们" href="http://mb.52web.me/TP000022/list.asp?classid=1">关于我们</a> /
					<a title="新闻资讯" href="http://mb.52web.me/TP000022/list.asp?classid=2">新闻资讯</a> /
					<a title="成功案例" href="http://mb.52web.me/TP000022/list.asp?classid=3">成功案例</a> /
					<a title="企业团队" href="http://mb.52web.me/TP000022/list.asp?classid=4">企业团队</a> /
					<a title="专业服务" href="http://mb.52web.me/TP000022/list.asp?classid=5">专业服务</a> /
					<a title="联系我们" href="http://mb.52web.me/TP000022/list.asp?classid=6">联系我们</a> /
				</p>
				<!--快捷入口结束-->

				<!--<p class="zhixun">
					<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=601526061&amp;site=qq&amp;menu=yes" class="qq" target="_blank">在线QQ咨询</a>
				</p>-->
			</section>
			<!--联系我们结束-->
		
		
		<script type="text/javascript" src="../js/jquery.js" ></script>
		<script>
			$('#button').click(function(){
				var xm=$('#xm').val();
				var dh=$('#dh').val();
				var xr=$('#nr').val();
				console.log(xm);
				var s=JSON.stringify({id:null,name:xm,phone:dh,content:xr})
				
					$.ajax({
					url: "http://www.gzzunji.com/zunji/saveMessage.do",
					type: "POST",
					dataType: "json",
					contentType: "application/json;charset=utf-8",
					data:s,
					success: function(response) {					
						console.log(response);
						if(response){
						
						alert("提交成功");	
						}
					},
					error: function(errordata) {
						console.log(errordata);

					}
				});
			});
		</script>
		
	</body>
</html>

<br />